package com.icebartech.core.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 支付宝支付配置
 * @author wenhsh
 *
 */
@ConfigurationProperties(prefix = "alipay")
public class AlipayProperties{

	/**
	 * 应用id
	 */
	private String appId;
	
	/**
	 * 支付宝网关地址
	 */
	private String appGateway;
	
	/**
	 * 应用公钥
	 */
	private String appPublicKey;
	
	/**
	 * 应用私钥
	 */
	private String appPrivateKey;
	
	/**
	 * 支付宝公钥
	 */
	private String alipayPublicKey;
	
	/**
	 * 加密方式
	 */
	private String signType;
	
	/**
	 * 异步回调url
	 */
	private String callbackUrl;
	
	/**
	 * 预留回调地址
	 */
	private String callbackUrl1;
	
	/**
	 * 预留回调地址
	 */
	private String callbackUrl2;

	
	public String getCallbackUrl1() {
		return callbackUrl1;
	}

	public void setCallbackUrl1(String callbackUrl1) {
		this.callbackUrl1 = callbackUrl1;
	}

	public String getCallbackUrl2() {
		return callbackUrl2;
	}

	public void setCallbackUrl2(String callbackUrl2) {
		this.callbackUrl2 = callbackUrl2;
	}

	public String getCallbackUrl() {
		return callbackUrl;
	}

	public void setCallbackUrl(String callbackUrl) {
		this.callbackUrl = callbackUrl;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppGateway() {
		return appGateway;
	}

	public void setAppGateway(String appGateway) {
		this.appGateway = appGateway;
	}

	public String getAppPublicKey() {
		return appPublicKey;
	}

	public void setAppPublicKey(String appPublicKey) {
		this.appPublicKey = appPublicKey;
	}

	public String getAppPrivateKey() {
		return appPrivateKey;
	}

	public void setAppPrivateKey(String appPrivateKey) {
		this.appPrivateKey = appPrivateKey;
	}

	public String getAlipayPublicKey() {
		return alipayPublicKey;
	}

	public void setAlipayPublicKey(String alipayPublicKey) {
		this.alipayPublicKey = alipayPublicKey;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}
	
	
}
